/*
 *
 * 名称：八神
 * 功能：奇门遁甲八神属性配置
 * 作者：清河张
 * 时间：2025.05.11
 *
 */

#include "shen8.h"

using namespace QMDJ;

template <> SHEN_T SHEN8::_objs[8] =
{
    {SHEN_T::ZHIFUUU, WUXING_T::MUUU, "值符",},
    {SHEN_T::TENGSHE, WUXING_T::HUOO, "腾蛇",},
    {SHEN_T::TAIYINN, WUXING_T::JINN, "太阴",},
    {SHEN_T::LIUHEEE, WUXING_T::MUUU, "六合",},
    {SHEN_T::BAIHUUU, WUXING_T::JINN, "勾虎",},
    {SHEN_T::XUANWUU, WUXING_T::SHUI, "朱玄",},
    {SHEN_T::JIUDIII, WUXING_T::TUUU, "九地",},
    {SHEN_T::JIUTIAN, WUXING_T::JINN, "九天",},
};

SHEN_T::SHEN_T():
    CT(SHEN_T::S______, " "), _wx(WUXING_T::WX__)
{
    _rev = 0;
}


SHEN_T::SHEN_T(int id, int wx, const char *name):
    CT(id, name), _wx(wx)
{
    _rev = 0;
}

WUXING5 SHEN_T::wx5() const
{
    return _wx;
}

void SHEN_T::yu(WUXING5 wx)
{
    _wxxqs = wx - wx5();
}

WUXING5::WXXQS SHEN_T::wxxqs() const
{
    return _wxxqs;
}

















